from flask import Flask
import fapws._evwsgi as evwsgi
from fapws import base

app = Flask(__name__)

@app.route('/')
def index():        
    return 'Hello, please run me.'

evwsgi.start('0.0.0.0', '9090')
evwsgi.set_base_module(base)

evwsgi.wsgi_cb(('/', app))
evwsgi.set_debug(0)
evwsgi.run()
